/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.michael;

import android.app.Activity;
import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

/**
 *
 * @author sio
 */
public class AutreActivity extends Activity {

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        // On va chercher la vue
        setContentView(R.layout.autreview);
        TextView label = (TextView) findViewById(R.id.label);
        Intent inter = getIntent();
        String med = inter.getStringExtra("leMed");
        label.setText(med);
    }
}
